<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://beta.mamsy.ru/" />
<title>siteinfo_delivery</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">siteinfo_delivery</td></tr>
</thead><tbody>
<tr>
	<td>setSpeed</td>
	<td>0</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/siteinfo/delivery</td>
	<td></td>
</tr>
<tr>
	<td>storeEval</td>
	<td>if (selenium.isTextPresent('Notice')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Error')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Exception')==false&nbsp;&nbsp;&amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('vps_core')==false) {} else {alert('Error!')}</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=city</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=city</td>
	<td>Москва</td>
</tr>
<tr>
	<td>typeKeys</td>
	<td>id=city</td>
	<td>Москва</td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[@id='result-calculation-container']/div/div[2]</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>css=div.container_price &gt; div</td>
	<td></td>
</tr>
<tr>
	<td>verifyText</td>
	<td>//div[@id='result-calculation-container']/div/div[2]/span[2]</td>
	<td>95 руб.</td>
</tr>
<tr>
	<td>storeEval</td>
	<td>if (selenium.isTextPresent('Notice')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Error')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Exception')==false&nbsp;&nbsp;&amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('vps_core')==false) {} else {alert('Error!')}</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/siteinfo/delivery</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=city</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=city</td>
	<td>Усть-Илимск</td>
</tr>
<tr>
	<td>typeKeys</td>
	<td>id=city</td>
	<td>Усть-Илимск</td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[@id='result-calculation-container']/div/div[2]</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>css=div.container_price &gt; div</td>
	<td></td>
</tr>
<tr>
	<td>verifyText</td>
	<td>//div[@id='result-calculation-container']/div/div[2]/span[2]</td>
	<td>545 руб.</td>
</tr>
<tr>
	<td>open</td>
	<td>/siteinfo/delivery</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=city</td>
	<td></td>
</tr>
<tr>
	<td>storeEval</td>
	<td>if (selenium.isTextPresent('Notice')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Error')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Exception')==false&nbsp;&nbsp;&amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('vps_core')==false) {} else {alert('Error!')}</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=city</td>
	<td>Королев</td>
</tr>
<tr>
	<td>typeKeys</td>
	<td>id=city</td>
	<td>Королев</td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[@id='result-calculation-container']/div/div[2]</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>css=div.container_price &gt; div</td>
	<td></td>
</tr>
<tr>
	<td>verifyText</td>
	<td>//div[@id='result-calculation-container']/div/div[2]/span[2]</td>
	<td>240 руб.</td>
</tr>
<tr>
	<td>open</td>
	<td>/siteinfo/delivery</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=city</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=city</td>
	<td>Санкт-Петербург</td>
</tr>
<tr>
	<td>typeKeys</td>
	<td>id=city</td>
	<td>Санкт-Петербург</td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[@id='result-calculation-container']/div/div[2]</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>css=div.container_price &gt; div</td>
	<td></td>
</tr>
<tr>
	<td>verifyText</td>
	<td>//div[@id='result-calculation-container']/div/div[2]/span[2]</td>
	<td>145 руб.</td>
</tr>
<tr>
	<td>open</td>
	<td>/siteinfo/delivery</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=city</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=city</td>
	<td>Северное (Новосибирская обл.)</td>
</tr>
<tr>
	<td>typeKeys</td>
	<td>id=city</td>
	<td>Северное (Новосибирская обл.)</td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=postcode</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=postcode</td>
	<td>347630</td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[@id='result-calculation-container']/div/div[2]</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=notify-about-delivery</td>
	<td></td>
</tr>
<tr>
	<td>verifyText</td>
	<td>//div[@id='result-calculation-container']/div/div[2]/span[2]</td>
	<td>368 руб.</td>
</tr>
<tr>
	<td>open</td>
	<td>/siteinfo/delivery</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=city</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=city</td>
	<td>Сальск</td>
</tr>
<tr>
	<td>typeKeys</td>
	<td>id=city</td>
	<td>Сальск</td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=postcode</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=postcode</td>
	<td>347630</td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[@id='result-calculation-container']/div/div[2]</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=notify-about-delivery</td>
	<td></td>
</tr>
<tr>
	<td>verifyText</td>
	<td>//div[@id='result-calculation-container']/div/div[2]/span[2]</td>
	<td>245 руб.</td>
</tr>
<tr>
	<td>open</td>
	<td>/siteinfo/delivery</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=city</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=city</td>
	<td>Белоярский (Свердловская обл.)</td>
</tr>
<tr>
	<td>typeKeys</td>
	<td>id=city</td>
	<td>Белоярский (Свердловская обл.)</td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=postcode</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=postcode</td>
	<td>628160</td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[@id='result-calculation-container']/div/div[2]</td>
	<td></td>
</tr>
<tr>
	<td>storeEval</td>
	<td>if (selenium.isTextPresent('Notice')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Error')==false &amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('Exception')==false&nbsp;&nbsp;&amp;&amp;&nbsp;&nbsp;selenium.isTextPresent('vps_core')==false) {} else {alert('Error!')}</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=notify-about-delivery</td>
	<td></td>
</tr>
<tr>
	<td>verifyText</td>
	<td>//div[@id='result-calculation-container']/div/div[2]/span[2]</td>
	<td>374 руб.</td>
</tr>
</tbody></table>
</body>
</html>
